package com.qf.xiaomi.dao;

import com.qf.xiaomi.pojo.TbAddress;
import com.qf.xiaomi.pojo.User;

import java.util.List;

/**
 *@Created by 马英超 on 2022/8/15 19:43
 *@author： 马英超
 *@version：v1.0
 *@description:
 */
public interface UserDao {
    //注册用户
    public boolean registeredUser(User user);
    //查用户-登录
    public User findByUsername(String username);

    boolean activeQuery(String email,String code);

    boolean updateFlag(String email, String code);
    //查询用户地址信息
    public List<TbAddress> queryAddressByUid(int uid);
}
